<?php

namespace App;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;


/**
 * App\ShopCart
 *
 * @property int $id
 * @property int $user_id 用户标识
 * @property int $merchant_medicine_id 药品id
 * @property int $merchant_id 店铺id
 * @property int $merchant_medicine_spu_id 商品属性id
 * @property float $unit_price 加入时的商品单价
 * @property int $num 商品数量
 * @property float $amount_money 加入时的最终金额
 * @property \Illuminate\Support\Carbon|null $deleted_at
 * @property \Illuminate\Support\Carbon|null $created_at
 * @property \Illuminate\Support\Carbon|null $updated_at
 * @method static bool|null forceDelete()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ShopCart newModelQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ShopCart newQuery()
 * @method static \Illuminate\Database\Query\Builder|\App\ShopCart onlyTrashed()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ShopCart query()
 * @method static bool|null restore()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ShopCart whereAmountMoney($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ShopCart whereCreatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ShopCart whereDeletedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ShopCart whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ShopCart whereMerchantId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ShopCart whereMerchantMedicineId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ShopCart whereMerchantMedicineSpuId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ShopCart whereNum($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ShopCart whereUnitPrice($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ShopCart whereUpdatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ShopCart whereUserId($value)
 * @method static \Illuminate\Database\Query\Builder|\App\ShopCart withTrashed()
 * @method static \Illuminate\Database\Query\Builder|\App\ShopCart withoutTrashed()
 * @mixin \Eloquent
 * @property int $enterprise_id 商家id
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ShopCart whereEnterpriseId($value)
 */
class ShopCart extends Model
{
    protected $table='shop_cart';
    use SoftDeletes;
}
